

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>Document Order [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Virtual Document,Virtual Document Document Order,Virtual Document Sequence of Model Document Elements,Virtual Document Sequence of Package Attributes,Virtual Document Model Search Sequence,Virtual Document Change Package Sequence,Virtual Document Move Package Attributes Between Elements,Model Document,Model Document Document Order,Model Document Sequence of Model Document Elements,Model Document Sequence of Package Attributes,Model Document Model Search Sequence,Model Document Change Package Sequence,Model Document Move Package Attributes Between Elements">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">Document Order</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="deleteapackagefromyourdoc.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="generatethedocument.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">The order in which information is compiled into an RTF document depends on:</span></p>
<ul style="text-indent: 0px; margin-left: 30px; list-style-position: outside;">
<li><span class="f_Bulletlist1">The sequence of Model Document elements in a Master Document element</span></li>
<li><span class="f_Bulletlist1">Whether you define a Model Search in a Model Document element</span></li>
<li><span class="f_Bulletlist1">Whether you define a package list in a Model Document element.</span></li>
</ul>
<p class="p_BodyText"><span class="f_BodyText">When you have considered and, if necessary, amended the order in which information is compiled, you can <a href="generatethedocument.htm">generate the document</a>.</span></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Model Document Sequence</span></p>
<p class="p_BodyText"><span class="f_BodyText">When you generate a document from a Master Document element, the sequence in which the sections are generated is determined by the order in which the child Model Document elements are listed in the </span><span class="f_UIControl">Project Browser</span><span class="f_BodyText">. You can create elements anywhere in a diagram, therefore the generator refers to the </span><span class="f_UIControl">Project Browser</span><span class="f_BodyText"> sequence.</span></p>
<p class="p_BodyText"><span class="f_BodyText">If necessary, change the sequence using the green Up and Down arrows in the </span><span class="f_UIControl">Project Browser</span><span class="f_BodyText"> toolbar to move an element up or down within the package.</span></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Model Search</span></p>
<p class="p_BodyText"><span class="f_Bulletlist1">A Model Search operates on the database, and accesses records in the order in which they are stored. This order depends on many factors, and can change with database maintenance. Therefore, the sequence of information provided by the search is unpredictable.</span></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Package Order</span></p>
<p class="p_BodyText"><span class="f_BodyText">When you create a package list in a Model Document element, the sequence of information is determined by the order in which the package attributes are listed within the element. You can change the sequence using the </span><span class="f_UIControl">Attributes</span><span class="f_BodyText"> dialog, and if you prefer a package to be in a different section of the document, you can move the attribute from one Model Document element to another. Both these procedures are described below.</span></p>
<p class="p_SubHeadingL2"><span class="f_SubHeadingL2">Change Sequence of Packages In List</span></p>
<p class="p_BodyText"><span class="f_BodyText">To rearrange the order of packages in a </span><span class="f_NumberedList">Model Document element</span><span class="f_BodyText">, refer to the example element and follow the steps below:</span></p>
<p class="p_TextIndentedL2"><img src="virtualdoc-class.png" width="206" height="104" border="0" alt="VirtualDoc-Class"></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=1><span class="f_NumberedList">Right-click on the Model Document and select the </span><span class="f_MenuKeyField">Attributes</span><span class="f_NumberedList"> option from the context menu. The </span><span class="f_UIControl">Attributes</span><span class="f_NumberedList"> dialog displays.</span></li>
<li value=2><span class="f_NumberedList">On the </span><span class="f_UIControl">Attributes</span><span class="f_NumberedList"> list, click on a package to move and click on the Up or Down (hand) buttons to change the order in which the packages are included in the documentation.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="virtualdoc-attributelist.png" width="435" height="209" border="0" alt="VirtualDoc-AttributeList"><br>
<span class="f_NumberedList">&nbsp;</span><br>
<span class="f_NumberedList">In this case, </span><span class="f_NumberedList" style="font-style: italic;">Communication</span><span class="f_NumberedList"> has been moved to follow </span><span class="f_NumberedList" style="font-style: italic;">Activity Diagram</span><span class="f_NumberedList">.</span><br>
<span class="f_NumberedList">&nbsp;</span></li>
<li value=3><span class="f_NumberedList">When you are satisfied with the order of your packages, click on the </span><span class="f_MenuKeyField">Close</span><span class="f_NumberedList"> button.</span></li>
</ol>
<p class="p_SubHeadingL2"><span class="f_SubHeadingL2">Move Package Between Elements</span></p>
<p class="p_BodyText"><span class="f_BodyText">To move a package attribute from one Model Document to another, follow the steps below:</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=1><span class="f_NumberedList">Expand the Model Document elements in the </span><span class="f_UIControl">Project Browser</span><span class="f_NumberedList">, so that both list their package attributes.</span></li>
<li value=2><span class="f_NumberedList">Click-and-hold on the attribute to move, and drag it onto the name of the target Model Document element.</span></li>
<li value=3><span class="f_NumberedList">Release the mouse button. The attribute is removed from the source element and added to the top of the list of attributes in the target element.</span></li>
<li value=4><span class="f_NumberedList">If necessary, move the attribute down the attribute list, as described in </span><span class="f_NumberedList" style="font-style: italic;">Change Sequence of Packages in List</span><span class="f_NumberedList">, above.</span></li>
</ol>




            </div>
          </div>
        </div>



</div>


</body>
</html>
